.chat-footer-popup-item {
    box-sizing: border-box;
    flex-basis: calc((100% - 12px) / 4);
    margin-right: 4px;
    margin-bottom: 4px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    position: relative;
    background: #fff;
    padding: 2px;
    border-radius: 4px;
}
.chat-footer-popup-item:nth-child(4n) {
    margin-right: 0;
}

.chat-footer-popup-item-name {
    font-size:14px;
    color:rgba(51,51,51,1);
    line-height:20px;
    font-weight:500;
}

.chat-footer-popup-item-price {
    font-size:12px;
    font-weight:400;
    color:rgba(51,51,51,1);
    line-height:17px;
    opacity: 0.5;
    margin-left: 3px;
}

.chat-footer-popup-item-quantity {
    background-color: rgb(250, 114, 104);
    height: 20px;
    width: 20px;
    text-align: center;
    border-radius: 50% 50% 50% 0;
    position: absolute;
    right: 0;
    top: 0
}

.chat-footer-popup-item-quantity span {
    color: #fff;
    font-size: 10px;
    line-height: 20px;
}
.gift-shop-buy-modal {
    padding: 12px;
    background: #F8F8F8;
}
.gift-shop-buy-modal-title {
    margin-bottom: 12px;
}
.gift-shop-buy-modal-img {
    background: #fff;
}
.gift-shop-buy-modal-img img {
    width: 88px;
    height: 88px;
}
.gift-shop-buy-modal-detail {
    flex: 1;
    height: 88px;
    padding: 0 12px;
}
.gift-shop-buy-modal-detail-name {
    text-align: left;
    width: 100%;
    align-self: center;
    color: #333333;
}
.gift-shop-buy-modal-bottom {

}

.gift-shop-buy-modal-bottom-total {
    flex: 1;
    height: 50px;
    padding: 0 16px;
}
.gift-shop-buy-modal-bottom-button {
    width: 150px;
    height: 50px;
    text-align: center;
    color: #fff;
    background: #FFA500;
}

.gift-shop-buy-modal-bottom-button-disabled {
    color: rgba(51, 51, 51, 0.6);
    background: rgba(51, 51, 51, 0.1);;
}